﻿<%@ page language="java" pageEncoding="UTF-8"%>

<LINK REL=StyleSheet HREF="/chimaera/common/css/style.css"
	TYPE="text/css" MEDIA=screen>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>上传文件</title>
<script src='/chimaera/common/js/upload.js'>
	
</script>
<script src='/chimaera/dwr/interface/UploadMonitor.js'>
	
</script>
<script src='/chimaera/dwr/engine.js'>
	
</script>
<script src='/chimaera/dwr/util.js'>
	
</script>
<style type="text/css">
body {
	font: 11px Lucida Grande, Verdana, Arial, Helvetica, sans serif;
}

#progressBar {
	padding-top: 5px;
}

#progressBarBox {
	width: 350px;
	height: 20px;
	border: 1px inset;
	background: #eee;
}

#progressBarBoxContent {
	width: 0;
	height: 20px;
	border-right: 1px solid #444;
	background: #9ACB34;
}
</style>
</style>
</head>

<body leftmargin="0" topmargin="0" style="overflow: hidden;">
	<table width="100%" height="100%" cellspacing="0" cellpadding="0">
		<tr height="20%">
			<td align="center"><span CLASS="StdFieldLabel">Download
					and Upload</span></td>
		</tr>
		<tr height="20%">
			<td align="center">
				<form action="/chimaera/common/fileUpload.action" method="POST"
					enctype="multipart/form-data" onsubmit="startProgress()">
					<div>
						<span CLASS="StdFieldLabel"><nobr>选择文件</nobr></span> <span>
							<span style="color: red">(<5M, *.doc *.xls *.pdf)</span> <input
							type="file" class="INPUTTEXT" name="myFile" id="file1"/>
						</span> <br> <br> <br> <span> <INPUT
							class="INPUTBUTTON" type=submit value="上传" id="uploadbutton"/>
						</span> <span> <INPUT class="INPUTBUTTON" type=button
							onclick="getList();" value="下载文件列表" />
						</span>
					</div>
					<form>
			</td>
		</tr>

		<tr height="20%">
			<td align="center">
				<div id="progressBar" style="display: none;">

					<div id="theMeter">
						<div id="progressBarText"></div>

						<div id="progressBarBox">
							<div id="progressBarBoxContent"></div>
						</div>
					</div>
				</div>
			</td>
		</tr>

	</table>
</body>
</html>
<script language="javascript">
	function getList() {

		window.location.href = "/chimaera/common/getlist.action";

	}
</script>
